<include file="Public:html" />

<link type="text/css" rel="stylesheet" media="screen" href="../Public/css/auction.css" /> 

<title>竞拍进行中明细</title>

<script type="text/javascript"> 
	window.timestamp = 0;
	window.game_tid={$one.id};
	//window.game_pid=333;
	 
	window.game_start=0;
	window.mb_id=getCookie('mb_id');
	window.chat_status=0;
	window.self_status=0;
	window.auto_status=0;
	window.history_status=0;
	window.game_status=0;
	window.auto=0;
	
	<eq name="one.iskeep" value="1"> 
		$(document).ready(function(){
			iniautobid();
		});
		window.auto_timer=0;
	</eq>
	 
</script> 
 
</head> 
 
 
<body> 
 
<!-- #paiban page --> 
<div id="paiban" class="homepage skin"> 
 
    <!-- #header --> 
    <include file="Public:header" />
    <!-- #header end --> 
    
    
    <!-- #auctionDetail --> 
    <div id="auctionDetail" class="mainbody"> 
    

    
        <!-- Auction Information --> 
        <div id="auctionInformation" class="container clearfix"> 
        
            <div class="tabview"> 
                <h1 class="title fl"> 
                    {$one.goodsname}<span class="keyword"></span> 
                    <span>{$one.sn}</span> 
                </h1> 
            </div> 
 
 
            <!-- #slideshow  商品图片--> 
           <div id="slideshow" class="container clearfix">         
            	<eq name="one.type" value="1">
					<!--新人竞拍-->
					<div class="auctionLabel beginnerLabel"></div>
					<!--新人竞拍-->
				</eq>
                <div id="proImage"> 
	                <volist name="one['accessory']" id="vo" key="k" >
	                    <img id="bigimg{$k}" alt="{$one.goodsname}" src="__PUBLIC__/accessory/img/{$vo.path}" width="400" height="275" />
	                </volist>
                </div>
                <div id="proThumbnail"> 
                    <ul class="clearfix"> 
	                    <volist name="one['accessory']" id="vo" key="k" >
	                        <li>
	                        	<a rel="bigimg{$k}" href="javascript:void(0);">
	                            	<img class="sup" alt="{$one.goodsname}" width="50" height="37" src="__PUBLIC__/accessory/img/{$vo.thumbnail}" />
	                            </a>
	                        </li>
	                    </volist>
                    </ul> 
                </div> 
            </div> 
            <!-- #slideshow end --> 
            
            
        
            <!-- #bidtype --> 
            <div id="bidtype" class="container clearfix"> 
            
            
                <!-- #bidnow --> 
               <div id="bidnow"> 
                    <eq name="one.state" value="0">       <!-- 未开始 -->
						<div style="font-size: 26px;font-weight: bold;margin-top: 35px;">本商品将在</div>
                        <div  style="color: #FF4848;font-size: 20px;font-weight: bold;line-height: 50px;">{$one.starttime|date='Y-m-d H:i:s',###}</div>
                        <div style="color: #034F96; font-size: 39px;font-weight: bold;line-height: 37px;">开拍</div>
                        <div style="color: #034F96;font-size: 22px;font-weight: bold;line-height: 43px;">敬请期待</div>
					<else />   <!-- 进行中 -->
	                    <div class="userID"> 
	                        <a class="userIcon" href="###" id="bidder_icon_{$one.id}"></a> 
	                        <a class="userName" href="###" id="bidder_{$one.id}">暂无</a> 
	                    </div> 
    
	                    <div class="price f24" title="拍卖价"><span id="price_{$one.id}">&yen;--.--</span></div> 
	                    <div class="countdown f30" id="time_{$one.id}" title="剩余时间">--:--:--</div> 
	                    
	                    <div class="bidButton">             
	                        <span class="auctionButton"> 
	                            <span id='bid_btn_{$one.id}' class="button" jtTitle="提示" jtWidth="150"> 
	                                <span class="first-child"> 
	                                    <a id="{$one.id}" name="{$one.id}" class="bidbutton bidImgButton bidImgButton_live"></a> 
	                                </span> 
	                            </span> 
	                        </span> 
	                        
	                        <eq name="one.iskeep" value="1"> 
		                        <span class="auctionButton" id="zeroToBid">				
									<span jtwidth="150" jttitle="提示" class="button" id="autobid_tip_span">
										<span class="first-child">
											<a class="bidImgButton bidImgButton_zeroToBid" name="mr_startbid" id="mr_startbid"></a>
											<span name="autobid_tip" id="autobid_tip"></span>
										</span>
									</span>
								</span>
	                        </eq>
	                    </div>
					</eq>
					
					
					
                    <div class="bidder notice">                 
                        <p class="clearfix">时间<em>+{$one.addsecond}秒</em>,拍卖价<em>+&yen;{$one.addprice}</em>,消耗<em>{$one.usebeat}点</em></p> 
                          <!-- 
                        <p id="recentlySold" class="clearfix"> 
                                                                                    竞拍获得免运费
	                        <notempty name="ago"> , 
	                            <a href="{:U('/Auction/detail/id/'.$ago['id'])}" title="查看上一次{$ago.goodsname}竞拍历史">上次&yen;{$ago.realprice}成交</a> 
	                        </notempty>                     
                        </p> 
                         -->
                    </div> 
                   
                   	 <div id="gotoBuyType" class="clearfix notice"> 
                        <div class="bidder"> 
                            <p class="clearfix"><span>保价：</span><strong class="purchase">&yen;{$one.goodsprice}</strong></p> 
                            <p class="clearfix" title="保价购买时需要支付的运费"><span>运费：</span><strong class="normal">&yen;{$one.goodsfreight}</strong></p> 
                        </div>                
                     </div> 
    
                 </div> 
                <!-- #bidnow end --> 
                
                
                
 				 <!-- #bidhistory start --> 
                <div id="bidHistory" class="container"> 
                    <div class="tabview"> 
                        <ul class="tab"> 
                            <li id="ctrl_0"><a href="#bidHistoryList" onClick="ctrlauction(0);">历史出价</a></li> 
                            <li id="ctrl_1"><a href="#mybidHistoryList" onClick="ctrlauction(1);">我的出价</a></li> 
                        </ul> 
                    </div> 
                    
                    <div id="bidHistoryList" class="content" style="display:block;"> 
                        <span>暂无竞拍者...</span> 
                    </div> 
                    
                    <div id="mybidHistoryList" class="content"> 
                        <table class="chart notice"> 
                        <tr> 
                            <td width="24%">{$Think.config.sysconfig.beat_name}消耗</td> 
                            <td> 
                            <span class="price" id='self_point_a'>计算中...</span> 
                                                                        （<strong class="keyword" id='self_price_point_a'>计算中...</strong>）
                            </td> 
                        </tr> 
                        
                        <tr> 
                            <td width="24%">{$Think.config.sysconfig.pointb_name}消耗</td> 
                            <td><span class="price" id='self_point_b'>计算中...</span></td> 
                        </tr> 
                        
                        <tr> 
                            <td width="24%">出价次数</td> 
                            <td><span class="price" id='self_bidcount'>计算中...</span></td> 
                        </tr> 
                                                
                        <tr> 
                            <td width="24%">保价差价</td> 
                            <td> 
	                            <strong class="purchase">&yen;{$one.goodsprice}</strong> 
	                            -
	                            <strong class="keyword" id='self_price_point_a2'>计算中....</strong> 
	                            =
	                            <strong class="price" id='self_price_pay'>&yen;{$one.goodsprice}</strong> 
	                            
	                            <p style="padding:8px 0 5px 0;"> 
	                                <span id="buy_btn_{$one.id}" jtWidth="160" jtTitle="提示"> 
	                                    <span> 
	                                        <a id="buy_{$one.id}" name="{$one.id}" class="buynow sendReq2" style="padding:3px 5px 4px 5px;" href="javascript:void(0);" onFocus="this.blur();">保价购买</a> 
	                                    </span> 
	                                </span> 
	                            </p> 
	                            <input id='js_saveprice' type="hidden" value="{$one.goodsprice}" /> 
                            </td> 
                        </tr>                       
                        </table> 
                    </div>  
    
               </div> 
 			   <!-- #bidhistory end --> 
 
            </div> 
            <!-- #bidtype end --> 
            
 
            <!-- #bidNowList --> 
            <div id="bidNowList" class="container clearfix"> 
	            <volist name="now" id="vo">
	                <div class="bidNow fl clearfix"> 
	                    <h3 class="bidNowTitle MingLiU"><a href="{:U('/Auction/detail/id/'.$vo['id'])}"  title="{$vo.goodsname}{$vo.sn}">{$vo.goodsname}</a><span>{$vo.sn}</span></h3> 
	                
	                    <div class="bidNowThum fl clearfix"><a href="{:U('/Auction/detail/id/'.$vo['id'])}"  title="{$vo.goodsname}{$vo.sn}"><img alt="{$vo.goodsname}{$vo.sn}" width="50" height="37" src="__PUBLIC__/accessory/img/{$vo.thumbnail}" /></a></div> 
	                    
	                    <div class="bidNowInfo fl clearfix"> 
	                        <p class="countdown strong" id="time_{$vo.id}" title="剩余时间">--:--:--</p> 
	                        <p class="price strong" id="price_{$vo.id}" title="拍卖价">&yen;--.--</p> 
	                        <p><a class="userName" href="" id="bidder_{$vo.id}">----</a></p> 
	                    </div> 
	                    
	                    <div class="bidNowBtn fr clearfix"> 
	                        <span class="auctionButton"> 
	                            <span id='bid_btn_{$vo.id}' class="button" jtTitle="提示" jtWidth="150"> 
	                                <span class="first-child"> 
	                                    <a id="{$vo.id}" name="{$vo.id}" class="bidbutton bidImgButton bidImgButton_live"></a> 
	                                </span> 
	                            </span> 
	                        </span> 
	                    </div> 
	                </div>
	            </volist>  
            </div> 
            <!-- #bidNowList end --> 
 
 
        </div> 
        <!-- Auction Information end --> 
 
 
 
 
 
 
 
        
        <!-- product detail --> 
        <div id="publicProductInformation" class="container"> 
		    <div class="tabview"> 
		        <h2 class="title fl">详细介绍</h2> 
		    </div> 
 
		    <div id="description" class="content" style="display:block;"> 
		        <div class="cb"><span style="font-weight:bold;">基本参数</span>
		            {$one.goodsabout}
		        </div> 
		        <div class="cb">提示：商品以实物为准。</div> 
		    </div>
		    
   			 <script type="text/javascript" src="../Public/js/img.js"></script>   
   			 
		</div> 
        <!-- product detail end --> 
        
        
        
 
    </div> 
    <!-- #auctionDetail end --> 
 
 
 
 
     
       <script type="text/javascript"> 
        //因为jc的js控件,加载后会自动处理tag,所以要延后处理js
        var islogin=getCookie('islogin');   //登录状态
        if(!islogin){
            $("#ctrl_0").addClass("on");
            $("#ctrl_1").removeClass("on");
            $("#bidHistoryList").attr("style","display:block");
            $("#mybidHistoryList").attr("style","");
            ctrlauction(0);
        }else{
            $("#ctrl_0").removeClass("on");
            $("#ctrl_1").addClass("on");
            $("#bidHistoryList").attr("style","");
            $("#mybidHistoryList").attr("style","display:block");
            ctrlauction(1);
        }
       </script> 
            
 
 
 
 
    <!-- #footer --> 
    <include file="Public:footer" />
    <!-- #footer end --> 
 
 
</div> 
<!-- #paiban page end --> 
 
</body> 
</html>